<!--
 * @description: 组合按钮
 * @Author: Islands
 * @Date: 2024-06-18 09:27:47
 * @LastEditTime: 2024-06-19 17:27:14
-->
<script lang="ts" setup>
import { IconTooltip } from "@/components/SvgIcon";
import { props } from "../props";
const { collapse, onClick } = defineProps(props);
// const collapseChange = (collapse: any) => {

// };
</script>
<template>
  <IconTooltip
    :onClick="onClick"
    :tooltipTitle="collapse ? $t(`tooltip.expand`) : $t(`tooltip.expandNo`)"
    :icon="collapse ? 'xiangyouzhankai' : 'Hdonghua-xiangzuozhankai'"
  />
</template>
<style lang="scss" scoped>

</style>
